<?php
/**
 * @version		1.0.1 audit
 * @author		PROinsurer
 * @website		www.proinsurer.com.ua
 */
defined('_JEXEC') or die('Restricted access'); ?>

<ul class="nav nav-tabs">
   <li <?=( ($this->step == 1) ? 'class="active"' : '' );?> ><a href="/private/audit">Шаг1 &mdash; Загрузка</a></li>
	<li <?=( ($this->step == 2) ? 'class="active"' : '' );?> ><a href="/private/audit?view=compar">Шаг2 &mdash; Сопоставление</a></li>
	<li <?=( ($this->step == 3) ? 'class="active"' : '' );?> ><a href="/private/audit?view=ident">Шаг3 &mdash; Идентификация</a></li>
   <div id="left_ident_list">
   <? if ($this->ident_list) { 
      /* foreach ($this->ident_list) { */ ?>
      <br>
      <? foreach ($this->ident_list AS $il) {
            foreach ($this->fstruct AS $fst) {
               $class = "ident_list_item";
               if ($il == $this->cur_ident) $class = "ident_list_item_curent";
               if ($il == $fst->id) {
                  $tmp_spr = array();
                  foreach ($this->fcompar->compar->ident[$il] AS $spr) {
                     $tmp_spr[] = $this->slName[$spr]; }
      ?>
                  <p style="line-height: 12px;"><nobr><a class="<?=$class;?>" href="/private/audit?view=ident&ident=<?=$il;?>"><i class="icon-arrow-right"></i> <?=$fst->name;?></a></nobr><small><br> &nbsp; &nbsp; — <?=implode(',<br> &nbsp; &nbsp; — ',$tmp_spr);?></small></p>
      <? } } } ?>

   <? } ?>
   </div>
</ul>

